package viewControllers;


import globals.GlobalObjects;
import graphics.GraphicalObject;
import physics.GameObject;

public class CarrotViewController extends ViewController {
	public class CarrotBody extends AnimationPart{
		public CarrotBody(GraphicalObject object) {
			super(object);
		}
	}
	
	public CarrotViewController(GameObject object) {
		super(object);
		CarrotBody body = new CarrotBody(GlobalObjects.getGraphic("carrotMesh"));
		CarrotBody tree = new CarrotBody(GlobalObjects.getGraphic("treeMesh"));
		tree.getCenter().y += 0.2;
		tree.getCenter().x -= 0.20;
		tree.getCenter().z -= 0.2;
		addPart(body);
		addPart(tree);
	}
}
